package com.gzhryc.shared_device.oem.code.order.event;

import com.gzhryc.common.event.IDelayEvent;
import com.gzhryc.common.kafka.models.KafkaMessage;
import com.gzhryc.shared_device.base.models.OperateInfo;

import java.util.Date;

public class OrderFinishEvent implements IDelayEvent {

    private String businessType;
    private String tradeNo;
    private Date createDate;
    private OperateInfo operateInfo;

    public OrderFinishEvent(){}

    public OrderFinishEvent(String businessType,String tradeNo,Date createDate,OperateInfo operateInfo){
        this.businessType = businessType;
        this.tradeNo = tradeNo;
        this.createDate = createDate;
        this.operateInfo = operateInfo;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public OperateInfo getOperateInfo() {
        return operateInfo;
    }

    public void setOperateInfo(OperateInfo operateInfo) {
        this.operateInfo = operateInfo;
    }
}
